package implementpractice2_;

/**
 * User: 86156
 * Date: 2023-04-12
 * Time: 23:23
 */
public class TableTennisCoach extends Coach implements SpeakEnglish {
    public TableTennisCoach() {

    }

    public TableTennisCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println(getName()+"教打乒乓球");
    }

    @Override
    public void speak() {
        System.out.println(getName()+"说英语");
    }
}
